import model
#u = model.User("user_3")
#u.save()
#model.commit()
    
users =  model.User().all()
print users
from formalchemy import FieldSet, Grid
g = Grid(model.User, users) 
print g.render() 






#import formalchemy
#import model2
#group_name = "grp_134615119704330001"
#
##G = model.Group(group_name).read()
##print G
##
#from formalchemy import FieldSet, Grid
##fs = FieldSet(G)
##print G
##print fs.render()
#
#users = model.User().all() 
#
##u1 = model.User("usr_unique").read()
##print U
##print u1
##
##from formalchemy import FieldSet, Grid
##fs = FieldSet(u1)
###print U
##print fs.render()
#
## users = session.query(Order).all()
#g = Grid(model.User, users) 
#print g.render()
